#include <stdlib.h>
#include <iostream>
#include <time.h>
#include <cstring>
#include <fstream>

#include <zlib.h>

#include <ZipHelper.h>
#include <fstream>

int main()
{
    std::ifstream iffile;
    iffile.open( "zpipe.c" );

    iffile.seekg( 0, iffile.end );
    size_t size = iffile.tellg();
    iffile.seekg( 0, iffile.beg );

    char* buffer = new char[size];
    iffile.read( buffer, size );

    ZipHelper h;
    h.compressStream( buffer, 5 );

    return 0;
}
